:root {
	--main-equalizer-color: greenyellow;
	--additional-equalizer-color: rgb(255, 0, 119);
}

@font-face {
	font-family: Comfortaa;
	src: url(Comfortaa-VariableFont_wght.ttf);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Comfortaa';
}

body {
	background-color: #000;
	color: #fff;
	line-height: 1.5;
}

.popup-greet {
	width: 100vw;
	min-height: 100vh;
	background-color: #000;
	position: absolute;
	z-index: 100;
	display: flex;
	align-items: center;
	padding: 80px 20px 20px 20px;
	transition: 1.5s;
	opacity: 1;
	flex-direction: column;
}

.popup-greet-remove {
	opacity: 0;
	transform: translateY(-100%);
}

#start {
	width: calc(100% - 20px);
	padding: 20px;
	margin: 20px 0;
	border: 2px solid #ffffff;
	border-radius: 5px;
	background-color: transparent;
	color: #fff;
	font-size: 1.25em;
	position: relative;
	font-weight: 900;
	overflow: hidden;
}

#start::before {
	content: '';
	/* z-index: -1; */
	position: absolute;
	left: 0;
	top: 10px;
	width: 20px;
	height: 30px;
	background-color: rgba(156, 255, 178);
	animation: greet-button infinite ease-in-out 6s;
	border: 2px solid #fff;
	mix-blend-mode: difference;
}

#start::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 10px;
	width: 15px;
	height: 25px;
	background-color: #fd9dff;
	animation: greet-button infinite ease-in-out 8s;
	border: 2px solid #fff;
	mix-blend-mode: difference;
}

.wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100vw;
	height: 100vh;
	background-color: #000;
	flex-direction: column;
	padding: 20px;
}

.log {
	color: #fff;
	font-size: 1.25em;
	letter-spacing: 5px;
}

.content {
	width: 300px;
	height: 300px;
	background: url(./vibes.gif) no-repeat center center;
	background-size: cover;
	border-radius: 20px;
}

.bottom {
	color: #fff;
	position: absolute;
	left: 50%;
	bottom: 50px;
	transform: translateX(-50%);
	font-size: 1.25em;
	letter-spacing: 5px;
}

.marker-io {
	color: #9cffb2;
}

.marker-brackets {
	color: #fd9dff;
}

.red {
	color: #ff0000;
}

.yellow {
	color: #ffff00;
}

.green {
	color: #008000;
}

.blue {
	color: #0000ff;
}

.violet {
	color: #ee82ee;
}

#mus-control {
	border: none;
	position: fixed;
	right: 0;
	top: 0;
	background-color: transparent;
	padding: 20px;
	display: flex;
	gap: 3px;
}

.ion {
	display: block;
	width: 1px;
	height: 1px;
	background-color: var(--main-equalizer-color);
	border-radius: 50%;
}

.ion:nth-child(odd) {
	animation: music-pause ease-in infinite 0.3s;
}

.ion:nth-child(even) {
	animation: music-pause-reverse ease-out infinite 0.3s;
}

.ion-play:nth-child(1) {
	animation: music-play-1-10 ease-in infinite 0.4s;
}

.ion-play:nth-child(2) {
	animation: music-play-2-9 ease-in infinite 0.5s;
}

.ion-play:nth-child(3) {
	animation: music-play-3-8 ease-in infinite 0.6s;
}

.ion-play:nth-child(4) {
	animation: music-play-4-7 ease-in infinite 0.7s;
}

.ion-play:nth-child(5) {
	animation: music-play-5-6 ease-in infinite 0.8s;
}

.ion-play:nth-child(6) {
	animation: music-play-5-6 ease-in infinite 0.2s;
}

.ion-play:nth-child(7) {
	animation: music-play-4-7 ease-in infinite 0.3s;
}

.ion-play:nth-child(8) {
	animation: music-play-3-8 ease-in infinite 0.4s;
}

.ion-play:nth-child(9) {
	animation: music-play-2-9 ease-in infinite 0.5s;
}

.ion-play:nth-child(10) {
	animation: music-play-1-10 ease-in infinite 0.4s;
}

@keyframes music-play-1-10 {
	0% {
		padding: 0;
	}
	20% {
		padding-bottom: 25px;
		border-bottom: 2px solid var(--additional-equalizer-color);
	}
	40% {
		padding: 0;
	}
	60% {
		padding: 0;
	}
	80% {
		padding-bottom: 5px;
	}
	100% {
		padding: 0;
	}
}

@keyframes music-play-2-9 {
	0% {
		padding: 0;
	}
	20% {
		padding-bottom: 20px;
		border-bottom: 2px solid var(--additional-equalizer-color);
	}
	40% {
		padding: 0;
	}
	60% {
		padding: 0;
	}
	80% {
		padding-bottom: 10px;
	}
	100% {
		padding: 0;
	}
}

@keyframes music-play-3-8 {
	0% {
		padding: 0;
	}
	20% {
		padding-bottom: 15px;
		border-bottom: 2px solid var(--additional-equalizer-color);
	}
	40% {
		padding: 0;
	}
	60% {
		padding: 0;
	}
	80% {
		padding-bottom: 15px;
		border-bottom: 2px solid var(--additional-equalizer-color);
	}
	100% {
		padding: 0;
	}
}

@keyframes music-play-4-7 {
	0% {
		padding: 0;
	}
	20% {
		padding-bottom: 10px;
	}
	40% {
		padding: 0;
	}
	60% {
		padding: 0;
	}
	80% {
		padding-bottom: 20px;
		border-bottom: 2px solid var(--additional-equalizer-color);
	}
	100% {
		padding: 0;
	}
}

@keyframes music-play-5-6 {
	0% {
		padding: 0;
	}
	20% {
		padding-bottom: 5px;
	}
	40% {
		padding: 0;
	}
	60% {
		padding: 0;
	}
	80% {
		padding-bottom: 25px;
		border-bottom: 2px solid var(--additional-equalizer-color);
	}
	100% {
		padding: 0;
	}
}

@keyframes music-pause {
	0% {
		padding: 0;
	}
	50% {
		padding-bottom: 3px;
	}
	100% {
		padding: 0;
	}
}

@keyframes music-pause-reverse {
	0% {
		padding-bottom: 3px;
	}
	50% {
		padding: 0;
	}
	100% {
		padding-bottom: 3px;
	}
}

.rainbow-text {
	background: linear-gradient(
		to right,
		#6224e4,
		#b300cc,
		#e100b2,
		#ff189a,
		#6224e4,
		#6224e4,
		#b300cc,
		#e100b2,
		#ff189a,
		#6224e4
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: rainbow_animation 1.5s ease-in-out infinite;
	background-size: 400% 100%;
	transform: translateX(-100%);
}

@keyframes rainbow_animation {
	0% {
		background-position: 0 0;
	}
	50% {
		background-position: 100% 0;
	}
	100% {
		background-position: 0 0;
	}
}

@keyframes greet-button {
	0% {
		transform: translateX(-50px) rotate(360deg);
	}
	50% {
		transform: translateX(calc(100vw - 50px)) rotate(0);
	}
	100% {
		transform: translateX(-50px) rotate(360deg);
	}
}
